package model;

public class Teacher {
    /**
     * 教师姓名
     */
    private String name;
    /**
     * 教师工号
     */
    private String id;
    /**
     * 教师电话
     */
    private String phone;
    /**
     * 教师职位
     */
    private String post;
    private String password;

    public Teacher(String id, String password) {
        this.id = id;
        this.password = password;
    }
    public Teacher() {}

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
